package com.qian.service.ddj.dao;

import com.qian.service.ddj.entity.DdjChannel;
import com.yaowk.service.common.BaseRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ChannelRepository extends BaseRepository<DdjChannel, Integer> {
    @Query(value = "select * from ddjchannel where id=?1",nativeQuery = true)
    public List<DdjChannel> QueryChannelById(Integer id);

}
